<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>我是标题</title>
		<style type="text/css">
		.highlight{background:#c66;}
		</style>
		<script src="http://yui.yahooapis.com/3.10.0/build/yui/yui-min.js"></script>
	</head>
	<body>
		<div id="demo">
			<ul>
				<li>Apples</li>
				<li>Oranges</li>
				<li>Bananas</li>
			</ul>
			<ol>
				<li>Strawberries</li>
				<li>Tomatoes</li>
			</ol>
		</div>
		<script type="text/javascript">
		YUI().use("node",function(Y){
			var listItems = Y.all("#demo li");
			listItems.addClass("highlight");
		});
		</script>
	</body>
</html>